from django.urls import path
from . import views


urlpatterns = [
    path('labels/',views.AllLabels.as_view()),
    path('labels/users/',views.UserLabels.as_view()),
    path('questions/<int:id>/label/new/',views.NewAnswers.as_view()),
    path('questions/<int:id>/label/hot/',views.HotAnswers.as_view()),
    path('questions/<int:id>/label/wait/',views.NewAnswers.as_view()),
    path('questions/',views.IssueAnswers.as_view({"get': 'create"})),
    path('questions/<int:id>/',views.IssueDatails.as_view()),
    path('questions/<int:id>/useful/',views.YesUsefulView.as_view()),
    path('questions/<int:id>/unuseful/',views.NoUsefulView.as_view()),
    path('reply/',views.ReplyView.as_view()),
    path('reply/<int:id>/useful/',views.YesReplyView.as_view()),
    path('reply/<int:id>/unuseful/',views.NoReplyView.as_view()),
    path('labels/<int:id>/focusin/',views.Focusin.as_view()),
    path('labels/<int:id>/focusout/',views.NoFocusin.as_view()),
    path('labels/<int:id>/',views.LabelsView.as_view()),
]
